import java.util.Scanner;

public class swap {
    public static void main(String[] args){
        Scanner scan =new Scanner(System.in);

        System.out.print("请输入a的值：");
        int a=scan.nextInt();
        System.out.print("请输入b的值：");
        int b= scan.nextInt();
        int c;
        c=a;a=b;b=c;
        System.out.println("a="+a);
        System.out.println("b="+b);
    }
}
